home *** CD-ROM | disk | FTP | other *** search
/ PC/CD Gamer UK 123 / CD Gamer Issue 123 (June 2003) (Disc 1).ISO / Games / Dev_Demo_EU / data1.cab / App_Executables / System / DCharActions.u / ScriptText9.TextBuffer < prev    next >
Unknown  |  2003-02-28  |  1.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 74 12 63 6c 61 73 73 20 |........|t.class |
|00000010| 44 43 41 63 74 69 6f 6e | 5f 53 75 69 63 69 64 65 |DCAction|_Suicide|
|00000020| 20 65 78 74 65 6e 64 73 | 20 44 43 68 61 72 41 63 | extends| DCharAc|
|00000030| 74 69 6f 6e 3b 0d 0a 0d | 0a 76 61 72 28 41 63 74 |tion;...|.var(Act|
|00000040| 69 6f 6e 29 20 62 6f 6f | 6c 20 62 44 69 65 51 75 |ion) boo|l bDieQu|
|00000050| 69 65 74 6c 79 09 09 22 | 49 6e 73 74 61 6e 74 6c |ietly.."|Instantl|
|00000060| 79 20 64 65 73 74 72 6f | 79 73 20 62 6f 74 22 3b |y destro|ys bot";|
|00000070| 0d 0a 76 61 72 28 41 63 | 74 69 6f 6e 29 20 6e 61 |..var(Ac|tion) na|
|00000080| 6d 65 20 44 61 6d 61 67 | 65 54 79 70 65 3b 0d 0a |me Damag|eType;..|
|00000090| 76 61 72 28 41 63 74 69 | 6f 6e 29 20 69 6e 74 20 |var(Acti|on) int |
|000000a0| 4d 6f 6d 65 6e 74 75 6d | 54 72 61 6e 73 66 65 72 |Momentum|Transfer|
|000000b0| 09 22 31 35 30 30 30 20 | 2d 20 37 30 30 30 30 20 |."15000 |- 70000 |
|000000c0| 69 73 20 61 20 67 6f 6f | 64 20 72 61 6e 67 65 22 |is a goo|d range"|
|000000d0| 3b 0d 0a 76 61 72 28 41 | 63 74 69 6f 6e 29 20 45 |;..var(A|ction) E|
|000000e0| 42 6f 6e 65 20 48 69 74 | 42 6f 6e 65 3b 0d 0a 76 |Bone Hit|Bone;..v|
|000000f0| 61 72 28 41 63 74 69 6f | 6e 29 20 69 6e 74 20 44 |ar(Actio|n) int D|
|00000100| 61 6d 61 67 65 3b 0d 0a | 76 61 72 28 41 63 74 69 |amage;..|var(Acti|
|00000110| 6f 6e 29 20 6e 61 6d 65 | 20 46 6f 72 63 65 64 41 |on) name| ForcedA|
|00000120| 6e 69 6d 61 74 69 6f 6e | 09 22 46 6f 72 63 65 20 |nimation|."Force |
|00000130| 74 68 69 73 20 61 6e 69 | 6d 61 74 69 6f 6e 20 66 |this ani|mation f|
|00000140| 6f 72 20 64 65 61 74 68 | 22 3b 0d 0a 76 61 72 28 |or death|";..var(|
|00000150| 41 63 74 69 6f 6e 29 20 | 62 6f 6f 6c 20 62 4e 6f |Action) |bool bNo|
|00000160| 52 61 67 64 6f 6c 6c 09 | 09 09 22 44 6f 6e 27 74 |Ragdoll.|.."Don't|
|00000170| 20 72 61 67 64 6f 6c 6c | 20 6f 6e 20 64 65 61 74 | ragdoll| on deat|
|00000180| 68 3f 22 3b 0d 0a 76 61 | 72 28 41 63 74 69 6f 6e |h?";..va|r(Action|
|00000190| 29 20 65 64 66 69 6e 64 | 61 62 6c 65 20 41 63 74 |) edfind|able Act|
|000001a0| 6f 72 20 41 74 74 61 63 | 6b 65 72 20 22 6f 6e 6c |or Attac|ker "onl|
|000001b0| 79 20 75 73 65 64 20 74 | 6f 20 67 65 74 20 64 61 |y used t|o get da|
|000001c0| 6d 61 67 65 20 76 65 63 | 74 6f 72 2c 20 63 61 6e |mage vec|tor, can|
|000001d0| 20 62 65 20 61 6e 79 20 | 61 63 74 6f 72 22 3b 0d | be any |actor";.|
|000001e0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 53 74 61 72 |...funct|ion Star|
|000001f0| 74 41 63 74 69 6f 6e 28 | 29 0d 0a 7b 0d 0a 20 20 |tAction(|)..{.. |
|00000200| 20 20 6c 6f 63 61 6c 20 | 44 42 6f 74 20 44 61 42 | local |DBot DaB|
|00000210| 6f 74 3b 0d 0a 09 6c 6f | 63 61 6c 20 76 65 63 74 |ot;...lo|cal vect|
|00000220| 6f 72 20 44 69 72 2c 20 | 48 69 74 4c 6f 63 61 74 |or Dir, |HitLocat|
|00000230| 69 6f 6e 3b 0d 0a 0d 0a | 09 44 61 42 6f 74 20 3d |ion;....|.DaBot =|
|00000240| 20 47 65 74 42 6f 74 28 | 29 3b 0d 0a 09 44 61 42 | GetBot(|);...DaB|
|00000250| 6f 74 2e 47 65 74 47 61 | 6d 65 28 29 2e 49 6e 76 |ot.GetGa|me().Inv|
|00000260| 65 6e 74 6f 72 79 4d 61 | 6e 61 67 65 72 2e 52 65 |entoryMa|nager.Re|
|00000270| 73 65 74 49 6e 76 65 6e | 74 6f 72 79 28 20 44 61 |setInven|tory( Da|
|00000280| 42 6f 74 20 29 3b 0d 0a | 09 69 66 20 28 20 62 44 |Bot );..|.if ( bD|
|00000290| 69 65 51 75 69 65 74 6c | 79 20 29 0d 0a 09 09 44 |ieQuietl|y )....D|
|000002a0| 61 42 6f 74 2e 44 65 73 | 74 72 6f 79 28 29 3b 0d |aBot.Des|troy();.|
|000002b0| 0a 20 20 20 20 65 6c 73 | 65 0d 0a 09 7b 0d 0a 09 |. els|e...{...|
|000002c0| 09 69 66 28 20 41 74 74 | 61 63 6b 65 72 3f 20 29 |.if( Att|acker? )|
|000002d0| 0d 0a 09 09 09 44 69 72 | 20 3d 20 6e 6f 72 6d 61 |.....Dir| = norma|
|000002e0| 6c 28 20 41 74 74 61 63 | 6b 65 72 2e 4c 6f 63 61 |l( Attac|ker.Loca|
|000002f0| 74 69 6f 6e 20 2d 20 44 | 61 42 6f 74 2e 4c 6f 63 |tion - D|aBot.Loc|
|00000300| 61 74 69 6f 6e 20 29 3b | 0d 0a 09 09 65 6c 73 65 |ation );|....else|
|00000310| 0d 0a 09 09 09 44 69 72 | 20 3d 20 76 65 63 74 28 |.....Dir| = vect(|
|00000320| 31 2c 30 2c 30 29 3b 0d | 0a 0d 0a 09 09 48 69 74 |1,0,0);.|.....Hit|
|00000330| 4c 6f 63 61 74 69 6f 6e | 20 3d 20 44 61 42 6f 74 |Location| = DaBot|
|00000340| 2e 47 65 74 42 6f 6e 65 | 43 6f 6f 72 64 73 28 20 |.GetBone|Coords( |
|00000350| 44 61 42 6f 74 2e 47 65 | 74 42 6f 6e 65 4e 61 6d |DaBot.Ge|tBoneNam|
|00000360| 65 28 48 69 74 42 6f 6e | 65 29 20 29 2e 4f 72 69 |e(HitBon|e) ).Ori|
|00000370| 67 69 6e 3b 0d 0a 09 09 | 0d 0a 09 09 69 66 28 20 |gin;....|....if( |
|00000380| 44 61 42 6f 74 2e 43 68 | 61 72 61 63 74 65 72 3f |DaBot.Ch|aracter?|
|00000390| 20 29 0d 0a 09 09 7b 0d | 0a 09 09 09 44 61 42 6f | )....{.|....DaBo|
|000003a0| 74 2e 43 68 61 72 61 63 | 74 65 72 2e 46 6f 72 63 |t.Charac|ter.Forc|
|000003b0| 65 64 44 65 61 74 68 53 | 65 71 75 65 6e 63 65 20 |edDeathS|equence |
|000003c0| 3d 20 46 6f 72 63 65 64 | 41 6e 69 6d 61 74 69 6f |= Forced|Animatio|
|000003d0| 6e 3b 0d 0a 09 09 09 44 | 61 42 6f 74 2e 43 68 61 |n;.....D|aBot.Cha|
|000003e0| 72 61 63 74 65 72 2e 62 | 4e 6f 52 61 67 64 6f 6c |racter.b|NoRagdol|
|000003f0| 6c 20 3d 20 62 4e 6f 52 | 61 67 64 6f 6c 6c 3b 0d |l = bNoR|agdoll;.|
|00000400| 0a 09 09 09 44 61 42 6f | 74 2e 43 68 61 72 61 63 |....DaBo|t.Charac|
|00000410| 74 65 72 2e 62 46 6f 72 | 63 65 4d 6f 6d 65 6e 74 |ter.bFor|ceMoment|
|00000420| 75 6d 20 3d 20 74 72 75 | 65 3b 0d 0a 09 09 7d 0d |um = tru|e;....}.|
|00000430| 0a 09 09 0d 0a 09 09 44 | 61 42 6f 74 2e 54 61 6b |.......D|aBot.Tak|
|00000440| 65 44 61 6d 61 67 65 41 | 64 76 61 6e 63 65 64 28 |eDamageA|dvanced(|
|00000450| 20 44 61 6d 61 67 65 2c | 20 44 61 42 6f 74 2c 20 | Damage,| DaBot, |
|00000460| 48 69 74 4c 6f 63 61 74 | 69 6f 6e 2c 20 4d 6f 6d |HitLocat|ion, Mom|
|00000470| 65 6e 74 75 6d 54 72 61 | 6e 73 66 65 72 2a 44 69 |entumTra|nsfer*Di|
|00000480| 72 2c 20 44 61 6d 61 67 | 65 54 79 70 65 2c 20 48 |r, Damag|eType, H|
|00000490| 69 74 42 6f 6e 65 20 29 | 3b 0d 0a 09 7d 0d 0a 0d |itBone )|;...}...|
|000004a0| 0a 20 20 20 20 2f 2f 46 | 69 6e 69 73 68 41 63 74 |. //F|inishAct|
|000004b0| 69 6f 6e 28 29 3b 0d 0a | 7d 0d 0a 0d 0a 00 |ion();..|}..... |
+--------+-------------------------+-------------------------+--------+--------+